<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title;?></title>
</head>
<body>
	<div id="login_form">
	<p>用户登录</p>
	<hr />
    <p style="color:red;"><?php echo validation_errors();?></p>
    <?php //echo form_open('/user/login');?>
	<form id="user_login" name="user_login" method="post" action="/user/login">
		<p>用户名： <input type="text" name="userid" size="25"/></p>
        <p>密码： <input type="text" name="pwd" size="25" /></p>
		<p>验证码： <input type="text" name="captcha" size="10" />&nbsp;&nbsp;<?php echo $captcha;?></p>
        <p><input type="submit" value="登录" />  <input type="button" value="注册" onclick="javascript:window.location.href='/user/regnew'" /></p>
	</form>
	</div>
</body>
</html>